package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient                  //表名自己是Eureka客户端
@EnableDiscoveryClient              //开启就可以获取已经注册进eureka的服务的详细信息
public class PaymentMain8001 {

    
    public static void main(String[] args) {

        SpringApplication.run(PaymentMain8001.class,args);
    }

}
